<?php
function validation_require($param){
	if(!empty($param)) return true;
	return false;
}

function validation_email($param){
	return ( ! preg_match("/^([a-z0-9\+_\-]+)(\.[a-z0-9\+_\-]+)*@([a-z0-9\-]+\.)+[a-z]{2,6}$/ix", $param)) ? FALSE : TRUE;
}

function validation_upass($param){
	return ( ! preg_match("/^[a-z0-9_-]{6,18}$/", $param)) ? FALSE : TRUE;
}

